Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable #[allow(clippy::unsafe_derive_deserialize)] #5870

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

ebroto
Copy link
Member

@ebroto ebroto commented Aug 5, 2020

Before this change this lint could not be allowed as the code we are checking is automatically generated.

changelog: Enable using the allow attribute on top of an ADT linted by [unsafe_derive_deserialize].

Fixes: #5789

@rust-highfive
Copy link

r? @flip1995

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 5, 2020
@ebroto ebroto force-pushed the 5789_allow_unsafe_derive_deserialize branch from 3918c9c to 50a86d4 Compare August 5, 2020 22:45
@flip1995
Copy link
Member

flip1995 commented Aug 7, 2020

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented Aug 7, 2020

📌 Commit 50a86d4 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Aug 7, 2020

⌛ Testing commit 50a86d4 with merge 90c622b...

bors added a commit that referenced this pull request Aug 7, 2020
…flip1995

enable #[allow(clippy::unsafe_derive_deserialize)]

Before this change this lint could not be allowed as the code we are checking is automatically generated.

changelog: Enable using the `allow` attribute on top of an ADT linted by [`unsafe_derive_deserialize`].

Fixes: #5789
@bors
Copy link
Contributor

bors commented Aug 7, 2020

💔 Test failed - checks-action_test

@flip1995
Copy link
Member

flip1995 commented Aug 7, 2020

@bors retry (fishy, I hope)

@bors
Copy link
Contributor

bors commented Aug 7, 2020

⌛ Testing commit 50a86d4 with merge 4e70cfc...

bors added a commit that referenced this pull request Aug 7, 2020
…flip1995

enable #[allow(clippy::unsafe_derive_deserialize)]

Before this change this lint could not be allowed as the code we are checking is automatically generated.

changelog: Enable using the `allow` attribute on top of an ADT linted by [`unsafe_derive_deserialize`].

Fixes: #5789
@bors
Copy link
Contributor

bors commented Aug 7, 2020

💔 Test failed - checks-action_test

@flip1995 flip1995 added S-waiting-on-bors Status: The marked PR was approved and is only waiting bors and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties labels Aug 7, 2020
@flip1995
Copy link
Member

@bors retry rollup

bors added a commit that referenced this pull request Aug 10, 2020
Rollup of 5 pull requests

Successful merges:

 - #5825 (Add the new lint `same_item_push`)
 - #5869 (New lint against `Self` as an arbitrary self type)
 - #5870 (enable #[allow(clippy::unsafe_derive_deserialize)])
 - #5871 (Lint .min(x).max(y) with x < y)
 - #5874 (Make the docs clearer for new contributors)

Failed merges:

r? @ghost

changelog: rollup
@bors bors merged commit 08ab29b into rust-lang:master Aug 10, 2020
@ebroto ebroto deleted the 5789_allow_unsafe_derive_deserialize branch August 23, 2020 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: The marked PR was approved and is only waiting bors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unsafe_derive_deserialize can't be enabled/disabled per struct
4 participants